home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / virus / fp_221.zip / COMMAND.DOC < prev    next >
Text File  |  1995-08-09  |  4KB  |  150 lines

  1.                            Command line mode
  2.  
  3.                         The command-line options
  4.  
  5. F-PROT.EXE is usually run without any parameters and will then enter
  6. interactive mode.  It is also possible to run it in command-line mode,
  7. either by specifying a drive, file or directory to scan, or by using the
  8. /COMMAND option.
  9.  
  10. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  11.  
  12. The available command-line options are
  13.  
  14. /640
  15. On certain old machines, scanning non-existing memory between 640K and 1M
  16. may cause a system crash.  This switch instructs F-PROT to scan only 640K.
  17.  
  18. /ALL
  19. Specifies that all files should be searched, not just normal "executable"
  20. files.
  21.  
  22. /ANALYSE
  23. Performs a heuristic analysis after the "Secure" scan.  This approach may
  24. cause false positives, and should be used with care.  See the file
  25. ANALYSE.DOC for further information.
  26.  
  27. /APPEND
  28. Used with /REPORT. Append the report to an existing file.
  29.  
  30. /AUTO
  31. May be specified with /DELETE or /DISINF so F-PROT will not request
  32. permission before deleting or disinfecting.  The default if only /DELETE
  33. or /DISINF are given is to ask if the file should be disinfected (or
  34. deleted).
  35.  
  36. /BOOT (default) /NOBOOT
  37. Scan/Don't scan boot sectors.
  38.  
  39. /COMMAND
  40. Force command-line mode.
  41.  
  42. /DELETE
  43. Delete all infected files, instead of just listing them.
  44.  
  45. /DISINF
  46. Disinfect whenever possible - deletes first-generation samples and files
  47. destroyed by overwriting viruses.  It will never delete a file which can
  48. be disinfected.
  49.  
  50. /EXT=
  51. Specify which filename extensions to scan by default, maximum of 10,
  52. separated by "."  Example: /EXT=COM.EXE.SYS.DLL.OV?
  53.  
  54. /FILE (default) /NOFILE
  55. Scan/Don't scan files.  If /NOFILE is used, it implies /NOPACKED and
  56. /NOUSER as well.
  57.  
  58. /GURU
  59. Provides additional information while scanning.
  60.  
  61. /HARD
  62. Scans the MBR and all accessible partitions on any hard disks that are
  63. found.
  64.  
  65. /HELP or /?
  66. Display a list of available options.
  67.  
  68. /INTER
  69. Force interactive mode.
  70.  
  71. /LIST
  72. Produce a report of all files checked, not just those which are infected.
  73.  
  74. /MONO
  75. Use monochrome on color displays.
  76.  
  77. /MULTI
  78. Scan multiple diskettes.
  79.  
  80. /NET
  81. Scans any network "drives" found.
  82.  
  83. /NOBREAK
  84. Disables ESC and ^C during scanning
  85.  
  86. /NOMEM
  87. Skip the memory scan.
  88.  
  89. /NOSUB
  90. Do not scan subdirectories.
  91.  
  92. /NOWRAP
  93. Do not wrap text in the report.
  94.  
  95. /OLD
  96. Do not display the "This version of the program is rather old" message.
  97.  
  98. /ONLY 
  99. When used with /ANALYSE, it will make F-PROT perform ONLY a heuristic
  100. scan.
  101.  
  102. /PACKED (default) /NOPACKED
  103. Search/Don't search inside packed executables (DIET, PKLITE, LZEXE).  This
  104. does not mean that F-PROT will scan inside archives (ZIP or ARJ).
  105.  
  106. /PAGE
  107. Pause after each page.
  108.  
  109. /PARANOID
  110. Makes the scanner a bit paranoid.  Increases the cances of picking up new
  111. viruses, but will significantly increase the risk of false positives.
  112. Only recommended for use by experienced, technical-minded users.
  113.  
  114. /RENAME
  115. Rename infected files to *.VOM, *.VXE or *.VVV.
  116.  
  117. /REPORT=file
  118. Sends the output to a file, in addition to displaying it on the screen.
  119.  
  120. /SILENT
  121. Generates no screen output at all - useful if you want to run the program
  122. from a batch file, and only check the return code.
  123.  
  124. /USER /NOUSER (default)
  125. Search/Don't search for user-defined search strings.  This option should
  126. only be used if absolutely neccessary, as it may result in a considerable
  127. speed decrease.
  128.  
  129.                           Return status
  130.  
  131. The program uses the following exit codes, which can be checked with the
  132. ERRORLEVEL command from a BAT file.
  133.  
  134.     0 - Normal exit - nothing found
  135.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  136.     the following:
  137.         DOS version 1.x was used (F-PROT requires DOS 2.0 or higher)
  138.         The report file (specified with /REPORT=) could not be created.
  139.         ENGLISH.TX0 or SIGN.DEF corrupted or not present
  140.         Program was run from a diskette, and the diskette then changed.
  141.     2 - Selftest failed - program has been modified.
  142.     3 - A Boot/File virus infection found.
  143.     4 - Virus search string found in memory.
  144.     5 - Program terminated with ^C or ESC.
  145.     6 - At least one virus was removed.  This code is only meaningful if
  146.         the program is used to scan just a single file.
  147.     7 - Insufficient memory to run the program.
  148.     8 - At least one suspicious file was found, but no infections.
  149.  
  150.